/*
 * Copyright 2022 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 *
 * The default style sheet used for view transitions.
 * See third_party/blink/renderer/core/view_transition/README.md for details
 */

@namespace "http://www.w3.org/1999/xhtml";

html::view-transition {
  position: fixed;
  inset: 0;
}

html::view-transition-group(*) {
  position: absolute;
  top: 0;
  left: 0;
}

::view-transition-image-pair(*) {
  position: absolute;
  inset: 0;
}

::view-transition-new(*),
::view-transition-old(*) {
  position: absolute;
  inset-block-start: 0;
  inline-size: 100%;
  block-size: auto;
}
